#ifndef _RSS_UI_VIEWITEM_H_
#define _RSS_UI_VIEWITEM_H_
#include "Rss_UI_Base.h"
#include "Rss_UI_MyList.h"

class Rss_UI_ViewItem : public Rss_UI_Base 
{
	UiEdit m_edit;
	UiToolbar_Text m_Toolbar;
	MyListItemData* p_data;
	bool backToLocalItem;
	bool isLocalItem;
public:
	Rss_UI_ViewItem() { backToLocalItem = false; isLocalItem = false;}
	void SetBackPos(bool toLocal) { this->backToLocalItem = toLocal; }
	virtual void Hide();
	virtual void Show();
	void SetData(MyListItemData* p) { this->p_data = p; }
	virtual LRESULT MzDefWndProc(UINT message, WPARAM wParam, LPARAM lParam);
	virtual void OnMzCommand(WPARAM wParam, LPARAM lParam);
};
#endif
